#include <iostream>
using namespace std;

class Integer {
public:
	Integer (int data = 0):m_data(new int(data)) {}
	~Integer (void) {
		cout << "析构函数" << endl;
		delete m_data;
	}
	void print (void) {
		cout << "*m_data=" << *m_data << endl; 
	}
#if 0
	void Destory (void) {
		delete m_data;
	}
#endif
private:
	int *m_data;
};

int main (void)
{
	Integer i(1234);
	i.print ();
	return 0;
}
